﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TurnamentOrganizer
{
    class Match
    {
        public Player _player1 { get; set; }
        public Player _player2 { get; set; }
        public int _tableNo { get; set; }
        public Player _winningPlayer { get; set; }
        public int controlPointsPlayer1 { get; set; }
        public int controlPointsPlayer2 { get; set; }

        public Match(Player player1, Player player2, int tableNo)
        {
            this._player1 = player1;
            this._player2 = player2;
            this._tableNo = tableNo;

            _player1.Opponents.Add(_player2);
            _player2.Opponents.Add(_player1);
        }
    }
}
